package com.autumn.config.api.dto.input;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * 配置输入
 * 
 * @author 老码农
 *         <p>
 *         Description
 *         </p>
 * @date 2017-12-31 00:26:27
 */
public class ConfigureInput implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2126718312701454136L;
	@Min(value = 0L, message = "顺序必须大于0。")
	private Integer sortId;
	private String remark;

	/**
	 * 
	 */
	public ConfigureInput() {
		this.setSortId(1);
	}

	/**
	 * 获取顺序Id
	 * 
	 * @return
	 */
	public Integer getSortId() {
		return sortId;
	}

	/**
	 * 设置顺序Id
	 * 
	 * @param sortId
	 *            顺序Id
	 */
	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

	/**
	 * 获取备注
	 * 
	 * @return
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * 设置备注
	 * 
	 * @param remark
	 *            备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

}
